/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.oracleandsxnd.erp.xsd.service;

import com.oracleandsxnd.erp.common.persistence.Page;
import com.oracleandsxnd.erp.common.service.CrudService;
import com.oracleandsxnd.erp.xsd.dao.XsglSaleTypeDao;
import com.oracleandsxnd.erp.xsd.entity.XsglSaleType;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 销售类型Service
 * @author 销售类型
 * @version 2019-12-21
 */
@Service
@Transactional(readOnly = true)
public class XsglSaleTypeService extends CrudService<XsglSaleTypeDao, XsglSaleType> {

	public XsglSaleType get(String id) {
		return super.get(id);
	}
	
	public List<XsglSaleType> findList(XsglSaleType xsglSaleType) {
		return super.findList(xsglSaleType);
	}
	
	public Page<XsglSaleType> findPage(Page<XsglSaleType> page, XsglSaleType xsglSaleType) {
		return super.findPage(page, xsglSaleType);
	}
	
	@Transactional(readOnly = false)
	public void save(XsglSaleType xsglSaleType) {
		super.save(xsglSaleType);
	}
	
	@Transactional(readOnly = false)
	public void delete(XsglSaleType xsglSaleType) {
		super.delete(xsglSaleType);
	}
	
}